package com.hibernate;

import java.sql.Timestamp;

/**
 * Auditlog entity. @author MyEclipse Persistence Tools
 */

public class Auditlog implements java.io.Serializable {

	// Fields

	private Integer id;
	private Category category;
	private Userinfo userinfo;
	private String action;
	private Timestamp time;
	private Integer articleid;

	// Constructors

	/** default constructor */
	public Auditlog() {
	}

	/** full constructor */
	public Auditlog(Category category, Userinfo userinfo, String action,
			Timestamp time, Integer articleid) {
		this.category = category;
		this.userinfo = userinfo;
		this.action = action;
		this.time = time;
		this.articleid = articleid;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Category getCategory() {
		return this.category;
	}

	public void setCategory(Category category) {
		this.category = category;
	}

	public Userinfo getUserinfo() {
		return this.userinfo;
	}

	public void setUserinfo(Userinfo userinfo) {
		this.userinfo = userinfo;
	}

	public String getAction() {
		return this.action;
	}

	public void setAction(String action) {
		this.action = action;
	}

	public Timestamp getTime() {
		return this.time;
	}

	public void setTime(Timestamp time) {
		this.time = time;
	}

	public Integer getArticleid() {
		return this.articleid;
	}

	public void setArticleid(Integer articleid) {
		this.articleid = articleid;
	}

}